import request from "@/utils/http";

export const loginAPI = ({ account, password }) => {
  return request({
    url: '/login',
    method: 'POST',
    data: {
      account,
      password
    }
  });
};

export const getLikeListAPI = ({ limit = 4 }) => request({
  url: '/goods/relevant',
  params: {
    limit
  }
});
